traverse(ast, {WhileStatement: {exit: [replaceWhile]},});